<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="SomaLoader,com.soma.loader.SomaLoader,DEFAULT_BITMAP_SMOOTHING,DEFAULT_CACHE_ENABLED,LOG_ERRORS,STATUS_LOADING,STATUS_PAUSED,STATUS_STOPPED,TYPE_BITMAP,TYPE_CSS,TYPE_FONT,TYPE_MP3,TYPE_SWF,TYPE_TEXT,TYPE_UNKNOWN,TYPE_XML,VERSION,currentItem,currentLoader,failOnError,items,length,lengthCache,loaderContext,loading,playerVersion,showLoading,soundLoaderContext,status,add,addAt,addBinary,addBinaryAt,clearCache,contains,dispose,getBinaryLoadedItemByOwnKey,getBinaryLoadedItemByURL,getBinaryLoadedItems,getIndex,getItem,getItemAt,getLastItem,getLoadedItemByOwnKey,getLoadedItemByURL,getLoadedItems,info,pause,remove,removeAll,removeAt,removeItemLoaded,removeItemLoadedByOwnKey,removeItemLoadedByURL,resume,setIndex,start,stop" name="keywords">
<title>com.soma.loader.SomaLoader</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'SomaLoader - Soundstep | SomaLoader';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Soundstep | SomaLoader</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/soma/loader/SomaLoader.html&amp;com/soma/loader/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;SomaLoader</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class SomaLoader"); titleBar_setSubNav(true,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.soma.loader</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class SomaLoader</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SomaLoader <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  <p><b>Author:</b> Romuald Quantin - <a href="http://www.soundstep.com/" target="_blank">www.soundstep.com</a><br/>
  <b>Project host: </b><a href="http://code.google.com/p/somaloader/" target="_blank">http://code.google.com/p/somaloader/</a><br/>
  <b>Class version:</b> 1.0.1<br/>
  <b>Actionscript version:</b> 3.0</p>
  <p><b>Copyright:</b></p>
  <p>The contents of this file are subject to the Mozilla Public License<br />
  Version 1.1 (the "License"); you may not use this file except in compliance<br />
  with the License. You may obtain a copy of the License at<br /></p>
  
  <p><a href="http://www.mozilla.org/MPL/" target="_blank">http://www.mozilla.org/MPL/</a><br /></p>
  
  <p>Software distributed under the License is distributed on an "AS IS" basis,<br />
  WITHOUT WARRANTY OF ANY KIND, either express or implied.<br />
  See the License for the specific language governing rights and<br />
  limitations under the License.<br /></p>
  
  <p>The Original Code is SomaLoader.<br />
  The Initial Developer of the Original Code is Romuald Quantin.<br />
  Initial Developer are Copyright (C) 2008-2009 Soundstep. All Rights Reserved.</p>
  
  <p><b>Date:</b> 20 Feb 2009<br /></p>
  <p><b>Usage:</b><br/>
  SomaLoader is a lightweight loading manager written in AS3. You can load many types such as images, swf, xml, text, xml, css, fonts in a swf, mp3, variables and binary data. Items can be added, removed and changed in position from the queue even while loading.
  SomaLoader provides a simple and unique interface for massive loading, to listen to events and access to data. SomaLoader has some specific features such as targeting before loading, easy loading progress display, caching system and binary loading for "silent loading".
  </p>
  <p></p>
<br>
<span class="label">Example</span>
<br>  <div class='listing'><pre>
  var loader:SomaLoader = new SomaLoader();
  loader.addEventListener(SomaLoaderEvent.COMPLETE, itemComplete);
  loader.add("photo1.jpg");
  loader.add("photo2.jpg");
  loader.add("photo3.jpg");
  function itemComplete(event:SomaLoaderEvent):void {
      var bitmap:Bitmap = event.item.file as Bitmap;
      addChild(bitmap);
  }
  </pre></div>
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentItem">currentItem</a> : <a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
<div class="summaryTableDescription">[read-only] get the item that is currently loading.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentLoader">currentLoader</a> : *<div class="summaryTableDescription">[read-only] get the current built-in loader instance used in SomaLoader, can be Loader, URLLoader or Sound.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_BITMAP_SMOOTHING">DEFAULT_BITMAP_SMOOTHING</a> : Boolean = true<div class="summaryTableDescription">[static] Default value for the smoothing property.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_CACHE_ENABLED">DEFAULT_CACHE_ENABLED</a> : Boolean = true<div class="summaryTableDescription">[static] Default value for the cache system, whether the cache is enable or not.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#failOnError">failOnError</a> : Boolean<div class="summaryTableDescription"> indicates if the loading of the items in the queue should stop or continue if an error is found, the default is false.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#items">items</a> : Array<div class="summaryTableDescription">[read-only] get a copy of the list of items in the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#length">length</a> : int<div class="summaryTableDescription">[read-only] get the length of the queue (number of items in the queue).</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#lengthCache">lengthCache</a> : int<div class="summaryTableDescription">[read-only] get the length of the cache (number of items cached).</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loaderContext">loaderContext</a> : LoaderContext<div class="summaryTableDescription"> LoaderContext used in the SomaLoader instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loading">loading</a> : <a href="../loader/ILoading.html">ILoading</a>
<div class="summaryTableDescription"> ILoading instance used to display a loading progress.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#LOG_ERRORS">LOG_ERRORS</a> : Boolean = true<div class="summaryTableDescription">[static] Show or hide trace of internal errors.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#playerVersion">playerVersion</a> : int<div class="summaryTableDescription">[read-only] get the major version of the user's Flash Player.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#showLoading">showLoading</a> : Boolean<div class="summaryTableDescription"> indicates if the ILoading instance should be used to display the progress.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#soundLoaderContext">soundLoaderContext</a> : SoundLoaderContext<div class="summaryTableDescription"> SoundLoaderContext used in the SomaLoader instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#status">status</a> : String<div class="summaryTableDescription">[read-only] get the loading status of the SomaLoader instance, can be SomaLoader.STATUS_LOADING, SomaLoader.STATUS_PAUSED or SomaLoader.STATUS_STOPPED.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#SomaLoader()">SomaLoader</a>()</div>
<div class="summaryTableDescription"> Instantiates a SomaLoader </div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#add()">add</a>(url:String, container:DisplayObjectContainer = null, type:String = null, data:String = null, dataFormat:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> add an item at the end of the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addAt()">addAt</a>(url:String, index:int, container:DisplayObjectContainer = null, type:String = null, data:String = null, dataFormat:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> add an item to a specific index in the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addBinary()">addBinary</a>(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>, container:DisplayObjectContainer = null, data:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> add a SomaLoaderItem instance in the queue that contains Binary data (item.fileBinary), to create an instance of Bitmap or MovieClip.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addBinaryAt()">addBinaryAt</a>(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>, index:int, container:DisplayObjectContainer = null, data:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> add a SomaLoaderItem instance that contains Binary data (item.fileBinary) to a specific index, to create an instance of Bitmap or MovieClip.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clearCache()">clearCache</a>():void</div>
<div class="summaryTableDescription"> clear the cache (remove all the SomaLoaderItem instance loaded).</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#contains()">contains</a>(url:String):Boolean</div>
<div class="summaryTableDescription"> Indicates if the queue contains an item with a URL.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispose()">dispose</a>(cacheIncluded:Boolean = false):void</div>
<div class="summaryTableDescription"> stop and dispose the SomaLoader instance to remove listeners and delete built-in loaders.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getBinaryLoadedItemByOwnKey()">getBinaryLoadedItemByOwnKey</a>(key:String, value:*):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getBinaryLoadedItemByURL()">getBinaryLoadedItemByURL</a>(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get a SomaLoaderItem instance stored in the cache containing a ByteArray set to the fileBinary property of the SomaLoaderItem instance with the URL.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getBinaryLoadedItems()">getBinaryLoadedItems</a>(type:String = null):Array</div>
<div class="summaryTableDescription"> get the list of the SomaLoaderItem instances stored in the cache containing a ByteArray set to the fileBinary property of the SomaLoaderItem instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getIndex()">getIndex</a>(url:String):int</div>
<div class="summaryTableDescription"> get the item position in the queue with the url of this item.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getItem()">getItem</a>(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get an item in the queue with the URL
   </div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getItemAt()">getItemAt</a>(index:int):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get an item in the queue at the specified index
   </div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLastItem()">getLastItem</a>():<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get the last item added in the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLoadedItemByOwnKey()">getLoadedItemByOwnKey</a>(key:String, value:*):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLoadedItemByURL()">getLoadedItemByURL</a>(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a>
</div>
<div class="summaryTableDescription"> get a SomaLoaderItem instance stored in the cache with the URL.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLoadedItems()">getLoadedItems</a>():Dictionary</div>
<div class="summaryTableDescription"> get the list of the SomaLoaderItem instances stored in the cache.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#info()">info</a>():String</div>
<div class="summaryTableDescription"> Returns a String describing the SomaLoader instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pause()">pause</a>():void</div>
<div class="summaryTableDescription"> stops the loading and keep the items not loaded in the queue, the loading can be resumed.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#remove()">remove</a>(url:String):Boolean</div>
<div class="summaryTableDescription"> find an item with the URL and remove it from the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeAll()">removeAll</a>():Boolean</div>
<div class="summaryTableDescription"> remove all the item from the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeAt()">removeAt</a>(index:int):Boolean</div>
<div class="summaryTableDescription"> find an item with the index and remove it from the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeItemLoaded()">removeItemLoaded</a>(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>):Boolean</div>
<div class="summaryTableDescription"> remove a SomaLoaderItem instance stored in the cache.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeItemLoadedByOwnKey()">removeItemLoadedByOwnKey</a>(key:String, value:*):Boolean</div>
<div class="summaryTableDescription"> remove a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeItemLoadedByURL()">removeItemLoadedByURL</a>(url:String):Boolean</div>
<div class="summaryTableDescription"> remove a SomaLoaderItem instance stored in the cache with the URL.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#resume()">resume</a>():void</div>
<div class="summaryTableDescription"> resume a loading that has been paused.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setIndex()">setIndex</a>(url:String, index:int):Boolean</div>
<div class="summaryTableDescription"> set the item position in the queue with the url of this item.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#start()">start</a>():void</div>
<div class="summaryTableDescription"> starts the loading of the items in the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#stop()">stop</a>():void</div>
<div class="summaryTableDescription"> stops the loading and reset the queue.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:CACHE_CHANGED">CACHE_CHANGED</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Indicates a change in the cache.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:COMPLETE">COMPLETE</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when a loading of an item is complete.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:ERROR">ERROR</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when an error has been found in the SomaLoader instance.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:ID3_COMPLETE">ID3_COMPLETE</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Indicates an ID3 information is available when a mp3 starts to load.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:PROGRESS">PROGRESS</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when a loading of an item progresses.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:QUEUE_CHANGED">QUEUE_CHANGED</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Indicates a change in the queue.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:QUEUE_COMPLETE">QUEUE_COMPLETE</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when the loading of a list of items is complete.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:QUEUE_PROGRESS">QUEUE_PROGRESS</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when the loading of a list of items progresses.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:QUEUE_START">QUEUE_START</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when the loading of a list of items starts.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:START">START</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Dispatched when a loading of an item starts.</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:STATUS_CHANGED">STATUS_CHANGED</a>
</div>
</td><td class="summaryTableDescription summaryTableCol"> Indicates a status change in the SomaLoader instance (loading, paused, stopped).</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#STATUS_LOADING">STATUS_LOADING</a> : String = "loading"<div class="summaryTableDescription">[static] Constant value used to defined the status property of the SomaLoader instance when it is loading.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#STATUS_PAUSED">STATUS_PAUSED</a> : String = "paused"<div class="summaryTableDescription">[static] Constant value used to defined the status property of the SomaLoader instance when it is paused.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#STATUS_STOPPED">STATUS_STOPPED</a> : String = "stopped"<div class="summaryTableDescription">[static] Constant value used to defined the status property of the SomaLoader instance when it is stopped.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_BITMAP">TYPE_BITMAP</a> : String = "TypeBitmap"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for an image.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_CSS">TYPE_CSS</a> : String = "TypeCSS"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for an CSS file.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_FONT">TYPE_FONT</a> : String = "TypeFont"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for a SWF containing fonts.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_MP3">TYPE_MP3</a> : String = "TypeMP3"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for a MP3.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_SWF">TYPE_SWF</a> : String = "TypeSWF"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for a SWF.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_TEXT">TYPE_TEXT</a> : String = "TypeText"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for an text file.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_UNKNOWN">TYPE_UNKNOWN</a> : String = "TypeUnknown"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for an unknown file.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TYPE_XML">TYPE_XML</a> : String = "TypeXML"<div class="summaryTableDescription">[static] Constant value used to defined the type property of the loader for an XML file.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#VERSION">VERSION</a> : String = "1.0.1"<div class="summaryTableDescription">[static] SomaLoader version.</div>
</td><td class="summaryTableOwnerCol">SomaLoader</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="currentItem"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentItem</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>currentItem:<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code>&nbsp;&nbsp;[read-only]<p> get the item that is currently loading.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentItem():<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code>
<br>
</div>
<a name="currentLoader"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentLoader</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>currentLoader:*</code>&nbsp;&nbsp;[read-only]<p> get the current built-in loader instance used in SomaLoader, can be Loader, URLLoader or Sound.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentLoader():*</code>
<br>
</div>
<a name="DEFAULT_BITMAP_SMOOTHING"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_BITMAP_SMOOTHING</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var DEFAULT_BITMAP_SMOOTHING:Boolean = true</code><p> Default value for the smoothing property. When an image is loaded, this value will be set to the smoothing property of the Bitmap. </p></div>
<a name="DEFAULT_CACHE_ENABLED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_CACHE_ENABLED</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var DEFAULT_CACHE_ENABLED:Boolean = true</code><p> Default value for the cache system, whether the cache is enable or not. This value will set the cacheEnabled property of a SomaLoaderItem when created. </p></div>
<a name="failOnError"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">failOnError</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>failOnError:Boolean</code>&nbsp;&nbsp;[read-write]<p> indicates if the loading of the items in the queue should stop or continue if an error is found, the default is false. </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get failOnError():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set failOnError(value:Boolean):void</code>
<br>
</div>
<a name="items"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">items</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>items:Array</code>&nbsp;&nbsp;[read-only]<p> get a copy of the list of items in the queue.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get items():Array</code>
<br>
</div>
<a name="length"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">length</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>length:int</code>&nbsp;&nbsp;[read-only]<p> get the length of the queue (number of items in the queue).
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get length():int</code>
<br>
</div>
<a name="lengthCache"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lengthCache</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>lengthCache:int</code>&nbsp;&nbsp;[read-only]<p> get the length of the cache (number of items cached).
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get lengthCache():int</code>
<br>
</div>
<a name="loaderContext"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">loaderContext</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>loaderContext:LoaderContext</code>&nbsp;&nbsp;[read-write]<p> LoaderContext used in the SomaLoader instance.  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loaderContext():LoaderContext</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set loaderContext(value:LoaderContext):void</code>
<br>
</div>
<a name="loading"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">loading</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>loading:<a href="../loader/ILoading.html">ILoading</a></code>&nbsp;&nbsp;[read-write]<p> ILoading instance used to display a loading progress.  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loading():<a href="../loader/ILoading.html">ILoading</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set loading(value:<a href="../loader/ILoading.html">ILoading</a>):void</code>
<br>
</div>
<a name="LOG_ERRORS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">LOG_ERRORS</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var LOG_ERRORS:Boolean = true</code><p> Show or hide trace of internal errors. This does not affect the SomaLoaderEvent.ERROR events. </p></div>
<a name="playerVersion"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">playerVersion</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>playerVersion:int</code>&nbsp;&nbsp;[read-only]<p> get the major version of the user's Flash Player.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get playerVersion():int</code>
<br>
</div>
<a name="showLoading"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showLoading</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>showLoading:Boolean</code>&nbsp;&nbsp;[read-write]<p> indicates if the ILoading instance should be used to display the progress. </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get showLoading():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set showLoading(value:Boolean):void</code>
<br>
</div>
<a name="soundLoaderContext"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">soundLoaderContext</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>soundLoaderContext:SoundLoaderContext</code>&nbsp;&nbsp;[read-write]<p> SoundLoaderContext used in the SomaLoader instance.  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get soundLoaderContext():SoundLoaderContext</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set soundLoaderContext(value:SoundLoaderContext):void</code>
<br>
</div>
<a name="status"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">status</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>status:String</code>&nbsp;&nbsp;[read-only]<p> get the loading status of the SomaLoader instance, can be SomaLoader.STATUS_LOADING, SomaLoader.STATUS_PAUSED or SomaLoader.STATUS_STOPPED. </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get status():String</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="SomaLoader()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">SomaLoader</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function SomaLoader()</code><p> Instantiates a SomaLoader </p></div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="add()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">add</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function add(url:String, container:DisplayObjectContainer = null, type:String = null, data:String = null, dataFormat:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> add an item at the end of the queue.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the object to load.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">container</span>:DisplayObjectContainer</code> (default = <code>null</code>)<code></code> &mdash; DisplayObjectContainer instance, if set and if possible, the file loaded will be added to the display list of this container.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Type of the file that will be loaded. SomaLoader can find the proper type with the extension of the file, but it can be set manually (type example: SomaLoader.TYPE_BITMAP).
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:String</code> (default = <code>null</code>)<code></code> &mdash; custom Object that can contain anything.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dataFormat</span>:*</code> (default = <code>null</code>)<code></code> &mdash; URLLoaderDataFormat for a URLLoader instance. The default is URLLoaderDataFormat.TEXT and can also be URLLoaderDataFormat.BINARY and URLLoaderDataFormat.VARIABLES.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        an instance of SomaLoaderItem if it has been successfully added to the queue.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="addAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addAt(url:String, index:int, container:DisplayObjectContainer = null, type:String = null, data:String = null, dataFormat:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> add an item to a specific index in the queue. The index 0 can't be used if the SomaLoader instance is currently loading.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the object to load.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; position of the item in the queue.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">container</span>:DisplayObjectContainer</code> (default = <code>null</code>)<code></code> &mdash; DisplayObjectContainer instance, if set and if possible, the file loaded will be added to the display list of this container.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Type of the file that will be loaded. SomaLoader can find the proper type with the extension of the file, but it can be set manually (type example: SomaLoader.TYPE_BITMAP).
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:String</code> (default = <code>null</code>)<code></code> &mdash; custom Object that can contain anything.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dataFormat</span>:*</code> (default = <code>null</code>)<code></code> &mdash; URLLoaderDataFormat for a URLLoader instance. The default is URLLoaderDataFormat.TEXT and can also be URLLoaderDataFormat.BINARY and URLLoaderDataFormat.VARIABLES.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        an instance of SomaLoaderItem if it has been successfully added to the queue.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="addBinary()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addBinary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addBinary(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>, container:DisplayObjectContainer = null, data:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> add a SomaLoaderItem instance in the queue that contains Binary data (item.fileBinary), to create an instance of Bitmap or MovieClip.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:<a href="SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; SomaLoaderItem that contains Binary data.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">container</span>:DisplayObjectContainer</code> (default = <code>null</code>)<code></code> &mdash; DisplayObjectContainer instance, if set and if possible, the file loaded will be added to the display list of this container.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:*</code> (default = <code>null</code>)<code></code> &mdash; custom Object that can contain anything.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        the instance of the SomaLoaderItem if it has been successfully added to the queue.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="addBinaryAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addBinaryAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addBinaryAt(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>, index:int, container:DisplayObjectContainer = null, data:* = null):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> add a SomaLoaderItem instance that contains Binary data (item.fileBinary) to a specific index, to create an instance of Bitmap or MovieClip. The index 0 can't be used if the SomaLoader instance is currently loading. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:<a href="SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; SomaLoaderItem that contains Binary data.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; position of the item in the queue.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">container</span>:DisplayObjectContainer</code> (default = <code>null</code>)<code></code> &mdash; DisplayObjectContainer instance, if set and if possible, the file loaded will be added to the display list of this container.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:*</code> (default = <code>null</code>)<code></code> &mdash; custom Object that can contain anything.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        the instance of the SomaLoaderItem if it has been successfully added to the queue.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="clearCache()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clearCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function clearCache():void</code><p> clear the cache (remove all the SomaLoaderItem instance loaded). </p></div>
<a name="contains()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">contains</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function contains(url:String):Boolean</code><p> Indicates if the queue contains an item with a URL.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the item.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean.
   </td>
</tr>
</table>
</div>
<a name="dispose()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispose</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function dispose(cacheIncluded:Boolean = false):void</code><p> stop and dispose the SomaLoader instance to remove listeners and delete built-in loaders. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">cacheIncluded</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Whether or not the cache of the SomaLoader instance should be cleared in the same time.
   </td>
</tr>
</table>
</div>
<a name="getBinaryLoadedItemByOwnKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getBinaryLoadedItemByOwnKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getBinaryLoadedItemByOwnKey(key:String, value:*):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.
   <div class='listing'><pre>
   loader.add("photo1.jpg", null, null, {myKey:"myValue"}, URLLoaderDataFormat.BINARY);
   // or
   var item:SomaLoaderItem = loader.add("photo1.jpg");
   item.dataFormat = URLLoaderDataFormat.BINARY;
   item.data = {myKey:"myValue"};
   ...
   var itemBinary:SomaLoaderItem = loader.getBinaryLoadedItemByOwnKey("myKey", "myValue");
   </pre></div>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:String</code> &mdash; property of an custom Object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; value of the property of an custom Object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        a SomaLoaderItem.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getBinaryLoadedItemByURL()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getBinaryLoadedItemByURL</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getBinaryLoadedItemByURL(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get a SomaLoaderItem instance stored in the cache containing a ByteArray set to the fileBinary property of the SomaLoaderItem instance with the URL.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the SomaLoader instance
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        a SomaLoaderItem.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getBinaryLoadedItems()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getBinaryLoadedItems</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getBinaryLoadedItems(type:String = null):Array</code><p> get the list of the SomaLoaderItem instances stored in the cache containing a ByteArray set to the fileBinary property of the SomaLoaderItem instance.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code> (default = <code>null</code>)<code></code> &mdash; The type of the SomaLoaderItem can be specified to filter the search.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; an Array.
   </td>
</tr>
</table>
</div>
<a name="getIndex()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getIndex</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getIndex(url:String):int</code><p> get the item position in the queue with the url of this item.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the item.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code> &mdash; the position of the item.
   </td>
</tr>
</table>
</div>
<a name="getItem()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getItem</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getItem(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get an item in the queue with the URL
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the item.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        the SomaLoaderItem instance that has been found.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getItemAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getItemAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getItemAt(index:int):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get an item in the queue at the specified index
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; position of the item in the queue.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        the SomaLoaderItem instance that has been found.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getLastItem()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLastItem</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLastItem():<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get the last item added in the queue.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        the SomaLoaderItem instance that has been found.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getLoadedItemByOwnKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLoadedItemByOwnKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLoadedItemByOwnKey(key:String, value:*):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.
   <div class='listing'><pre>
   loader.add("photo1.jpg", null, null, {myKey:"myValue"});
   // or
   var item:SomaLoaderItem = loader.add("photo1.jpg");
   item.data = {myKey:"myValue"};
   ...
   var item:SomaLoaderItem = loader.getLoadedItemByOwnKey("myKey", "myValue");
   </pre></div>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:String</code> &mdash; property of an custom Object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; value of the property of an custom Object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        a SomaLoaderItem.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getLoadedItemByURL()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLoadedItemByURL</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLoadedItemByURL(url:String):<a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code><p> get a SomaLoaderItem instance stored in the cache with the URL.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the SomaLoader instance
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../loader/SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; 
                        a SomaLoaderItem.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getLoadedItems()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLoadedItems</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLoadedItems():Dictionary</code><p> get the list of the SomaLoaderItem instances stored in the cache.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Dictionary</code> &mdash; a Dictionary.
   </td>
</tr>
</table>
</div>
<a name="info()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">info</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function info():String</code><p> Returns a String describing the SomaLoader instance.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; a String.
   </td>
</tr>
</table>
</div>
<a name="pause()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pause():void</code><p> stops the loading and keep the items not loaded in the queue, the loading can be resumed. </p></div>
<a name="remove()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remove</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function remove(url:String):Boolean</code><p> find an item with the URL and remove it from the queue.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the object to remove.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating if it has been successfully removed.
   </td>
</tr>
</table>
</div>
<a name="removeAll()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeAll</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeAll():Boolean</code><p> remove all the item from the queue. If the SomaLoader instance is currently loading, the item at the index 0 will not be removed.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating if the process has been successful.
   </td>
</tr>
</table>
</div>
<a name="removeAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeAt(index:int):Boolean</code><p> find an item with the index and remove it from the queue. The index 0 can't be used if the SomaLoader instance is currently loading.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; position of the item in the queue.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating if it has been successfully removed.
   </td>
</tr>
</table>
</div>
<a name="removeItemLoaded()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeItemLoaded</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeItemLoaded(item:<a href="SomaLoaderItem.html">SomaLoaderItem</a>):Boolean</code><p> remove a SomaLoaderItem instance stored in the cache.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:<a href="SomaLoaderItem.html">SomaLoaderItem</a></code> &mdash; SomaLoaderItem instance to remove.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating that the item has been successfully removed.
   </td>
</tr>
</table>
</div>
<a name="removeItemLoadedByOwnKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeItemLoadedByOwnKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeItemLoadedByOwnKey(key:String, value:*):Boolean</code><p> remove a SomaLoaderItem instance stored in the cache with a key and a value of an Object set to the data property of a SomaLoaderItem instance.
   <div class='listing'><pre>
   loader.add("photo1.jpg", null, null, {myKey:"myValue"}, URLLoaderDataFormat.BINARY);
   // or
   var item:SomaLoaderItem = loader.add("photo1.jpg");
   item.dataFormat = URLLoaderDataFormat.BINARY;
   item.data = {myKey:"myValue"};
   // if the item has been loaded:
   var item:SomaLoaderItem = loader.removeItemLoadedByOwnKey("myKey", "myValue");
   </pre></div>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:String</code> &mdash; property of an custom Object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; value of the property of an custom Object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a SomaLoaderItem.
   </td>
</tr>
</table>
</div>
<a name="removeItemLoadedByURL()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeItemLoadedByURL</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeItemLoadedByURL(url:String):Boolean</code><p> remove a SomaLoaderItem instance stored in the cache with the URL.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the SomaLoaderItem instance to remove.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating that the item has been successfully removed.
   </td>
</tr>
</table>
</div>
<a name="resume()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">resume</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function resume():void</code><p> resume a loading that has been paused. </p></div>
<a name="setIndex()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setIndex</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setIndex(url:String, index:int):Boolean</code><p> set the item position in the queue with the url of this item.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; URL of the item.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; position of the item in the queue.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; a Boolean indicating if the process has been successful.
   </td>
</tr>
</table>
</div>
<a name="start()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">start</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function start():void</code><p> starts the loading of the items in the queue. The queue must contains at least one item. </p></div>
<a name="stop()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">stop</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function stop():void</code><p> stops the loading and reset the queue. </p></div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:CACHE_CHANGED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CACHE_CHANGED</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.CACHE_CHANGED</code></a>
<br>
<span class="label">CACHE_CHANGED.type property = </span><a href="../loader/SomaLoaderEvent.html#CACHE_CHANGED"><code>com.soma.loader.SomaLoaderEvent.CACHE_CHANGED</code></a>
<br><p> Indicates a change in the cache.
     </p></div>
<a name="event:COMPLETE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">COMPLETE</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.COMPLETE</code></a>
<br>
<span class="label">COMPLETE.type property = </span><a href="../loader/SomaLoaderEvent.html#COMPLETE"><code>com.soma.loader.SomaLoaderEvent.COMPLETE</code></a>
<br><p> Dispatched when a loading of an item is complete.
     </p></div>
<a name="event:ERROR"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ERROR</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.ERROR</code></a>
<br>
<span class="label">ERROR.type property = </span><a href="../loader/SomaLoaderEvent.html#ERROR"><code>com.soma.loader.SomaLoaderEvent.ERROR</code></a>
<br><p> Dispatched when an error has been found in the SomaLoader instance.
     </p></div>
<a name="event:ID3_COMPLETE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ID3_COMPLETE</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.ID3_COMPLETE</code></a>
<br>
<span class="label">ID3_COMPLETE.type property = </span><a href="../loader/SomaLoaderEvent.html#ID3_COMPLETE"><code>com.soma.loader.SomaLoaderEvent.ID3_COMPLETE</code></a>
<br><p> Indicates an ID3 information is available when a mp3 starts to load.
     </p></div>
<a name="event:PROGRESS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PROGRESS</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.PROGRESS</code></a>
<br>
<span class="label">PROGRESS.type property = </span><a href="../loader/SomaLoaderEvent.html#PROGRESS"><code>com.soma.loader.SomaLoaderEvent.PROGRESS</code></a>
<br><p> Dispatched when a loading of an item progresses.
     </p></div>
<a name="event:QUEUE_CHANGED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">QUEUE_CHANGED</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.QUEUE_CHANGED</code></a>
<br>
<span class="label">QUEUE_CHANGED.type property = </span><a href="../loader/SomaLoaderEvent.html#QUEUE_CHANGED"><code>com.soma.loader.SomaLoaderEvent.QUEUE_CHANGED</code></a>
<br><p> Indicates a change in the queue.
     </p></div>
<a name="event:QUEUE_COMPLETE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">QUEUE_COMPLETE</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.QUEUE_COMPLETE</code></a>
<br>
<span class="label">QUEUE_COMPLETE.type property = </span><a href="../loader/SomaLoaderEvent.html#QUEUE_COMPLETE"><code>com.soma.loader.SomaLoaderEvent.QUEUE_COMPLETE</code></a>
<br><p> Dispatched when the loading of a list of items is complete.
  </p></div>
<a name="event:QUEUE_PROGRESS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">QUEUE_PROGRESS</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.QUEUE_PROGRESS</code></a>
<br>
<span class="label">QUEUE_PROGRESS.type property = </span><a href="../loader/SomaLoaderEvent.html#QUEUE_PROGRESS"><code>com.soma.loader.SomaLoaderEvent.QUEUE_PROGRESS</code></a>
<br><p> Dispatched when the loading of a list of items progresses.
  </p></div>
<a name="event:QUEUE_START"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">QUEUE_START</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.QUEUE_START</code></a>
<br>
<span class="label">QUEUE_START.type property = </span><a href="../loader/SomaLoaderEvent.html#QUEUE_START"><code>com.soma.loader.SomaLoaderEvent.QUEUE_START</code></a>
<br><p> Dispatched when the loading of a list of items starts.
  </p></div>
<a name="event:START"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">START</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.START</code></a>
<br>
<span class="label">START.type property = </span><a href="../loader/SomaLoaderEvent.html#START"><code>com.soma.loader.SomaLoaderEvent.START</code></a>
<br><p> Dispatched when a loading of an item starts.
     </p></div>
<a name="event:STATUS_CHANGED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">STATUS_CHANGED</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.soma.loader.SomaLoaderEvent.STATUS_CHANGED</code></a>
<br>
<span class="label">STATUS_CHANGED.type property = </span><a href="../loader/SomaLoaderEvent.html#STATUS_CHANGED"><code>com.soma.loader.SomaLoaderEvent.STATUS_CHANGED</code></a>
<br><p> Indicates a status change in the SomaLoader instance (loading, paused, stopped).
     </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="STATUS_LOADING"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">STATUS_LOADING</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const STATUS_LOADING:String = "loading"</code><p> Constant value used to defined the status property of the SomaLoader instance when it is loading. </p></div>
<a name="STATUS_PAUSED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">STATUS_PAUSED</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const STATUS_PAUSED:String = "paused"</code><p> Constant value used to defined the status property of the SomaLoader instance when it is paused. </p></div>
<a name="STATUS_STOPPED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">STATUS_STOPPED</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const STATUS_STOPPED:String = "stopped"</code><p> Constant value used to defined the status property of the SomaLoader instance when it is stopped. </p></div>
<a name="TYPE_BITMAP"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_BITMAP</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_BITMAP:String = "TypeBitmap"</code><p> Constant value used to defined the type property of the loader for an image. </p></div>
<a name="TYPE_CSS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_CSS</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_CSS:String = "TypeCSS"</code><p> Constant value used to defined the type property of the loader for an CSS file. </p></div>
<a name="TYPE_FONT"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_FONT</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_FONT:String = "TypeFont"</code><p> Constant value used to defined the type property of the loader for a SWF containing fonts. </p></div>
<a name="TYPE_MP3"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_MP3</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_MP3:String = "TypeMP3"</code><p> Constant value used to defined the type property of the loader for a MP3. </p></div>
<a name="TYPE_SWF"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_SWF</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_SWF:String = "TypeSWF"</code><p> Constant value used to defined the type property of the loader for a SWF. </p></div>
<a name="TYPE_TEXT"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_TEXT</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_TEXT:String = "TypeText"</code><p> Constant value used to defined the type property of the loader for an text file. </p></div>
<a name="TYPE_UNKNOWN"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_UNKNOWN</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_UNKNOWN:String = "TypeUnknown"</code><p> Constant value used to defined the type property of the loader for an unknown file. </p></div>
<a name="TYPE_XML"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TYPE_XML</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TYPE_XML:String = "TypeXML"</code><p> Constant value used to defined the type property of the loader for an XML file. </p></div>
<a name="VERSION"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">VERSION</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const VERSION:String = "1.0.1"</code><p> SomaLoader version. </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Soundstep - SomaLoader</center>
</div>
</body>
</html>
<!--Soundstep - SomaLoader-->
